#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
    list_widget=new QListWidget(this);
    list_widget->setGeometry(100,100,400,300);
    list_widget->addItem("111");
    list_widget->addItem("222");
    list_widget->addItem("333");
}

Widget::~Widget()
{
    delete ui;
}

